<%@ page language="java" contentType="text/html; charset=UTF-8" import="java.util.*"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ include file="../common.jsp"%>
<c:set var="path" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title></title>
	<script type="text/javascript" src="${path }/js/statmanager.js"></script>
</head>

<body>
	<div class="place">
	    <span>位置：</span>
	    <ul class="placeul">
	    <li><a href="#">统计管理</a></li>
	    <li><a href="#">患者资料统计</a></li>
	    </ul>
	 </div>
    <div class="rightinfo" >
    	<div class="tools">
    	
	       	<ul class="toolbar1">
		    	<li onclick="getPatCount()"><span><img src="${path}/images/t04.png" /></span>查询</li>
		        </ul>
	       	<ul class="toolbar2">
		       	<li class="li_left" style="padding-right: 0px;">
						<label>时间段：</label>
						<input type="text" id="stat_startDate" style="width: 180px;margin-top:3px;"/>
				</li>
				<li >
					<label>-</label>
					<input type="text" id="stat_endDate" style="width: 180px;margin-top:3px;"/>
				</li>
	       	</ul>
        
    	</div>
    	
    	<div style="clear: both;">
	    	<table id="stat_table" style="" class="stat_table">
	    		<thead>
	    			<tr>
	    				<th>临床因素</th>
	    				<th>n</th>
	    				<th>X%</th>
	    				<th>临床因素</th>
	    				<th>n</th>
	    				<th>X%</th>
	    			</tr>
	    		</thead>
	    		<tbody>
<!-- 	    			<tr><td style="font-weight: bold">患者性别</td><td></td><td></td><td style="font-weight: bold">治疗方式</td><td></td><td></td></tr> -->
<!-- 	    			<tr><td>男性</td><td>56</td><td>68.3</td><td>手术治疗</td><td>5</td><td>6.1</td></tr> -->
<!-- 	    			<tr><td>女性</td><td>26</td><td>3.17</td><td>手术+化疗</td><td>7</td><td>8.5</td></tr> -->
<!-- 	    			<tr><td style="font-weight: bold">肺癌部位</td><td></td><td></td><td>化疗</td><td>10</td><td>12.2</td></tr> -->
<!-- 	    			<tr><td>右侧</td><td>43</td><td>52.4</td><td>化疗+放疗</td><td>40</td><td>48.8</td></tr> -->
<!-- 	    			<tr><td>左侧</td><td>38</td><td>46.3</td><td>靶向治疗</td><td>11</td><td>13.4</td></tr> -->
<!-- 	    			<tr><td>双侧</td><td>1</td><td>1.2</td><td>其他治疗</td><td>9</td><td>11.0</td></tr> -->
<!-- 	    			<tr><td style="font-weight: bold">患者年龄</td><td></td><td></td><td style="font-weight: bold">病理类型</td><td></td><td></td></tr> -->
<!-- 	    			<tr><td>30~39</td><td>5</td><td>6.1</td><td>腺癌</td><td>33</td><td>40.2</td></tr> -->
<!-- 	    			<tr><td>40~49</td><td>12</td><td>14.6</td><td>鳞癌</td><td>26</td><td>31.7</td></tr> -->
<!-- 	    			<tr><td>50~59</td><td>21</td><td>25.6</td><td>小细胞癌</td><td>16</td><td>19.5</td></tr> -->
<!-- 	    			<tr><td>60~69</td><td>25</td><td>30.5</td><td>其他</td><td>7</td><td>8.5</td></tr> -->
<!-- 	    			<tr><td>≥70</td><td>19</td><td>23.2</td><td style="font-weight: bold">EGFR检测</td><td></td><td></td></tr> -->
<!-- 	    			<tr><td style="font-weight: bold">TNM分期</td><td></td><td></td><td>突变</td><td>12</td><td>14.6</td></tr> -->
<!-- 	    			<tr><td>Ⅰ</td><td>5</td><td>6.1</td><td>未突变</td><td>8</td><td>9.8</td></tr> -->
<!-- 	    			<tr><td>Ⅱ</td><td>7</td><td>8.5</td><td style="font-weight: bold">吸烟史</td><td></td><td></td></tr> -->
<!-- 	    			<tr><td>Ⅲ</td><td>14</td><td>17.1</td><td>有</td><td>51</td><td>62.2</td></tr> -->
<!-- 	    			<tr><td>Ⅳ</td><td>56</td><td>68.3</td><td>无</td><td>31</td><td>37.8</td></tr> -->
	    		</tbody>
	    	</table>
	    	<div><label id="statCount" style="margin: 5px 0 0 872px;font-weight: bold;"></label></div>
    	</div>
    	<div class="line"></div>
    	<div class="chartBox" style="display: inline-block;">
		<div id="sexChart" style="width:600px;height: 400px;"></div>
		<div id="zlfsChart" style="width:600px;height: 400px;"></div>
		<div id="bllxChart" style="width:600px;height: 400px;"></div>
		<div id="zlbwChart" style="width:600px;height: 400px;"></div>
		<div id="ageChart" style="width:600px;height: 400px;"></div>
		<div id="tnmChart" style="width:600px;height: 400px;"></div>
		<div id="egfrChart" style="width:600px;height: 400px;"></div>
		<div id="smokeChart" style="width:600px;height: 400px;"></div>
		</div>
    </div>
    <script type="text/javascript">
	$(function(){
		initCharts();
		statManagerInit();
	});
	</script>
</body>
</html>